#ifndef _TAIIC_LR_H
#define _TAIIC_LR_H
#include "rk_smart_ir_api.h"
#include "rk_aiq_user_api2_sysctl.h"
#include "xcam_common.h"
#define ERR(...) do { printf(__VA_ARGS__); } while (0)

typedef struct sample_smartIr_s {

    const rk_aiq_sys_ctx_t* aiq_ctx;

    const char* ir_cut_v4ldev;
    const char* ir_v4ldev;
    rk_smart_ir_ctx_t* ir_ctx;
    rk_smart_ir_params_t ir_configs;

    rk_smart_ir_result_t ir_res;
} sample_smartIr_t;

void load_ir_configs(sample_smartIr_t* ctx);
int init_ir_ctx(sample_smartIr_t* ctx);

int get_ir_result(sample_smartIr_t* ctx);
#endif //_TAIIC_LR_H